//
//  ColorHistogram.m
//  ImageToSound
//
//  Created by Adam Burch on 10/24/11.
//  Copyright 2011 N/A. All rights reserved.
//

#import "ColorHistogram.h"
#import "ImageToSoundViewController.h"

@implementation ColorHistogram

-(ColorHistogram*) imageData:(const RGBPixel*) data withIntensityBins:(int) numIntensityBins andSize:(CGSize) size
{
    self = [super init];
    
    if(self)
    {
        imageSize = size;
        //populate the intensity histogram, as that's the one that's there!
        intensityHistogram = [NSArray array];
        
        for(int i = 0; i < imageSize.width; i++)
        {
            for(int j = 0; j < imageSize.height; j++)
            {
                
                
            }
        }
        
    }
    
    
    return self;
}
@end
